import { initReactI18next } from "react-i18next";
import i18n from "i18next";
import en_language from "./en.json";
import zh_language from "./zh.json";
import jp_language from "./jp.json";
const resources = {
  en: {
    translation: en_language,
  },
  zh: {
    translation: zh_language,
  },
  jp: {
    translation: jp_language
  }
};
// i18n配置文件
i18n.use(initReactI18next).init({
  resources,
  lng: "zh",
  interpolation: {
    escapeValue: false,
  },
});
export default i18n;
